import modelExtend from '../../../utils/modelExtend';
import HttpModel from '../../../models/http';

let digitalKeyModelsGroup = {
    namespace: 'digitalKeyModelsGroup',
    effects: {
        *initData({ payload, callback }, { call, put }) {
            yield put({
                type: 'req',
                payload: {
                    pageData: {
                        list: [],
                        rows: [],
                        pagination: {},
                    },
                    data: {},
                },
            });
        },
    },
};
digitalKeyModelsGroup = modelExtend(HttpModel, digitalKeyModelsGroup);
export default digitalKeyModelsGroup;